﻿// ReSharper disable InconsistentNaming
// ReSharper disable IdentifierTypo
namespace K9Nano.LayIM.Models
{
    public class LayIMApiResponse
    {
        public int code { get; set; }

        public string msg { get; set; }

        public LayIMApiResponse()
        {

        }

        public LayIMApiResponse(int code, string msg)
        {
            this.code = code;
            this.msg = msg;
        }
    }


    public class LayIMApiResponse<T> : LayIMApiResponse
    {
        public T data { get; set; }

        public LayIMApiResponse()
        {

        }

        public LayIMApiResponse(T data): base(0, string.Empty)
        {
            this.data = data;
        }
    }
}